package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_shipping;

import cn.com.api.mapper.ApiT_shippingMapper;

import cn.com.api.service.ApiT_shippingService;

/**
 * 
 **/
@Service
public class T_shippingServiceImplBase {
	@Autowired
	private ApiT_shippingMapper apiT_shippingMapper;

	// 根据id获取
	public ApiT_shipping findT_shippingById(Integer id) {
		ApiT_shipping t_shipping = apiT_shippingMapper.findT_shippingById(id);
		return t_shipping;
	}

	// 查看数据集
	public List<ApiT_shipping> findT_shippings() {
		List<ApiT_shipping> t_shippings = apiT_shippingMapper.findT_shippings();
		return t_shippings;
	}

	// 添加
	public int insertT_shipping(ApiT_shipping t_shipping) {
		int ret_I = apiT_shippingMapper.insertT_shipping(t_shipping);
		return ret_I;
	}

	// 修改
	public int updateT_shipping(ApiT_shipping t_shipping) {
		int ret_I = apiT_shippingMapper.updateT_shipping(t_shipping);
		return ret_I;
	}

	// 删除
	public int deleteT_shipping(Integer id) {
		int ret_I = apiT_shippingMapper.deleteT_shipping(id);
		return ret_I;
	}

	// Foreign keys revelant

	// region Indexs revelant

}
